package com.longmao.edustatistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author longmao
 * @date 2022/3/1 14:37
 * Content:
 */
@SpringBootApplication
@MapperScan("com.longmao.edustatistics.mapper")
@ComponentScan(basePackages = "com.longmao")
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling   //定时任务
public class StatisticsApplication {

    public static void main(String[] args) {
        SpringApplication.run(StatisticsApplication.class, args);
    }
}
